package com.rundatop.dao.model;

import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@Getter
@Setter
@ToString
@Accessors(chain = true)
@Table(name = "`sys_params`")
public class SysParams {
    @Id
    @Column(name = "`id`")
    private Integer id;

    /**
     * 权限code
     */
    @Column(name = "`code`")
    private String code;

    /**
     * 功能名称
     */
    @Column(name = "`name`")
    private String name;

    /**
     * 功能状态0关闭1开启
     */
    @Column(name = "`status`")
    private Integer status;

    /**
     * 值
     */
    @Column(name = "`value`")
    private String value;

    /**
     * 删除状态1删除
     */
    @Column(name = "`is_deleted`")
    private Integer isDeleted;

    /**
     * 备注
     */
    @Column(name = "`remark`")
    private String remark;

    @Column(name = "`f1`")
    private String f1;

    @Column(name = "`f2`")
    private String f2;

    public static final String ID = "id";

    public static final String CODE = "code";

    public static final String NAME = "name";

    public static final String STATUS = "status";

    public static final String VALUE = "value";

    public static final String IS_DELETED = "isDeleted";

    public static final String REMARK = "remark";

    public static final String F1 = "f1";

    public static final String F2 = "f2";
}